package com.zhiwei.codesecurity.common.webservice.checkmarx.wsdk.common;

import com.zhiwei.codesecurity.common.base.BaseEntity;
import com.zhiwei.codesecurity.common.enums.TaskStatus;

import java.util.Date;

public class TaskResult extends BaseEntity {
    private static final long serialVersionUID = -1243027780533136566L;

    private boolean succesfull;
    private String errorMessage;
    private long submitRunId;
    private int currentStage;
    private int queuePosition;
    private int totalPercent;
    private int currentStagePercent;
    private String owner;
    private String stageName;
    private String stageMessage;
    private String stepMessage;
    private String stepDetails;
    private long resultId;
    private long scanId;
    private long projectId;
    private long taskId;
    private String taskName;
    private String projectName;
    private String runId;
    private String sourceId;
    private long loc;
    private Date timeScheduled;
    private Date elapsedTime;
    private Date timeFinished;
    private Date timeBeginWorking;
    private TaskStatus currentStatus;
    private String serverName;
    private String origin;
    private boolean isPublic;
    private boolean partialResults;

    public boolean isSuccesfull() {
        return succesfull;
    }

    public void setSuccesfull(boolean succesfull) {
        this.succesfull = succesfull;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public long getSubmitRunId() {
        return submitRunId;
    }

    public void setSubmitRunId(long submitRunId) {
        this.submitRunId = submitRunId;
    }

    public int getCurrentStage() {
        return currentStage;
    }

    public void setCurrentStage(int currentStage) {
        this.currentStage = currentStage;
    }

    public int getQueuePosition() {
        return queuePosition;
    }

    public void setQueuePosition(int queuePosition) {
        this.queuePosition = queuePosition;
    }

    public int getTotalPercent() {
        return totalPercent;
    }

    public void setTotalPercent(int totalPercent) {
        this.totalPercent = totalPercent;
    }

    public int getCurrentStagePercent() {
        return currentStagePercent;
    }

    public void setCurrentStagePercent(int currentStagePercent) {
        this.currentStagePercent = currentStagePercent;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getStageName() {
        return stageName;
    }

    public void setStageName(String stageName) {
        this.stageName = stageName;
    }

    public String getStageMessage() {
        return stageMessage;
    }

    public void setStageMessage(String stageMessage) {
        this.stageMessage = stageMessage;
    }

    public String getStepMessage() {
        return stepMessage;
    }

    public void setStepMessage(String stepMessage) {
        this.stepMessage = stepMessage;
    }

    public String getStepDetails() {
        return stepDetails;
    }

    public void setStepDetails(String stepDetails) {
        this.stepDetails = stepDetails;
    }

    public long getResultId() {
        return resultId;
    }

    public void setResultId(long resultId) {
        this.resultId = resultId;
    }

    public long getScanId() {
        return scanId;
    }

    public void setScanId(long scanId) {
        this.scanId = scanId;
    }

    public long getProjectId() {
        return projectId;
    }

    public void setProjectId(long projectId) {
        this.projectId = projectId;
    }

    public long getTaskId() {
        return taskId;
    }

    public void setTaskId(long taskId) {
        this.taskId = taskId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getRunId() {
        return runId;
    }

    public void setRunId(String runId) {
        this.runId = runId;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public long getLoc() {
        return loc;
    }

    public void setLoc(long loc) {
        this.loc = loc;
    }

    public Date getTimeScheduled() {
        return timeScheduled;
    }

    public void setTimeScheduled(Date timeScheduled) {
        this.timeScheduled = timeScheduled;
    }

    public Date getElapsedTime() {
        return elapsedTime;
    }

    public void setElapsedTime(Date elapsedTime) {
        this.elapsedTime = elapsedTime;
    }

    public Date getTimeFinished() {
        return timeFinished;
    }

    public void setTimeFinished(Date timeFinished) {
        this.timeFinished = timeFinished;
    }

    public Date getTimeBeginWorking() {
        return timeBeginWorking;
    }

    public void setTimeBeginWorking(Date timeBeginWorking) {
        this.timeBeginWorking = timeBeginWorking;
    }

    public TaskStatus getCurrentStatus() {
        return currentStatus;
    }

    public void setCurrentStatus(TaskStatus currentStatus) {
        this.currentStatus = currentStatus;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public boolean isPublic() {
        return isPublic;
    }

    public void setPublic(boolean aPublic) {
        isPublic = aPublic;
    }

    public boolean isPartialResults() {
        return partialResults;
    }

    public void setPartialResults(boolean partialResults) {
        this.partialResults = partialResults;
    }
}
